Like INITInfo, CountPatches counts the number of traps that are patched by your 'INIT's and 'cdev's. CountPatches runs at INIT time, and displays the name of the INIT/cdev along with the number of patches it traps. Hit the mouse button to advance to the next INIT/cdev. (Yeah, I know there's an INIT without a name that runs early on; I don't know what it is.)
We only check for patches done at INIT time. If you have a product, such as John Norstad's fine anti-viral product Disinfectant, which does additional patches after INIT time, those patches won't be counted.
Complete source code in Think C 5.0.4 is supplied; please don't ask for help. Learn to program. You can redistribute this in any way you want without asking me for permission.
Written under C.K. Haun's Fredware policy: If you don't like it, write a better one!